//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurEpY-F4S0rTzprZc9F3sxlWJQkysbsZ6752N7wlZLjwSl3RboUhiDV6bWLukV0y0d4-Lfqnc81ymOF8UvEBMWifBPXLfvonr1jqM4pHI_2svAqWlOVwipInbm8fHNShh8spaj23naczu8EhdEFsPNgafPXWALOXv8qF2-vRE8JddLAQRQ-wkJ5G1UwUKgAnWUdPUZB5HrmxcjCUv3xrg5SA8SOpf5fhTPx9J8TbsLFErAT1_Bngw6Sqi'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
